package com.itheima.service.impl;

import com.itheima.dao.BookDao;
import com.itheima.service.BookService;

/**
 * @author: dh
 * @date: 2023-10-21 15:39
 * 业务处理层接口BookService的实现类BookServiceImpl.
 */
public class BookServiceImpl implements BookService {

    /**
     * 数据层接口BookDao。
     */
    private BookDao bookDao;

    @Override
    public void save() {

        System.out.println("book service save ...");
        bookDao.save();
    }

    public void setBookDao(BookDao bookDao) {

        this.bookDao = bookDao;
    }
}
